<style>
    .layui-form-label {
        text-align: left;
    }
</style>
<title>菜单查看</title>
<div class="layui-card layadmin-header">
    <div class="layui-breadcrumb" lay-filter="breadcrumb">
        <a lay-href="">主页</a>
        <a><cite>菜单</cite></a>
        <a><cite>菜单列表</cite></a>
        <a><cite>菜单查看</cite></a>
    </div>
</div>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-card">
            <div class="layui-card-header">菜单查看</div>
            <div class="layui-card-body" style="padding: 15px;" template
                 lay-url="/system/tsMenu/findTsMenuById.do?menuId={{ layui.router().search.menuId }}">
                <form class="layui-form" action="" lay-filter="component-form-group">
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label required">菜单名称</label>
                            <div class="layui-input-inline">
                                <input type="text" name="menuName" disabled class="layui-input"
                                       value="{{d.data.menuName}}">
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">菜单样式</label>
                            <div class="layui-input-inline">
                                <input type="text" name="menuStyle" disabled class="layui-input"
                                       value="{{d.data.menuStyle}}">
                            </div>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label required">上级菜单</label>
                            <div class="layui-input-inline">
                                <input type="text" name="parentMenuName" id="parentMenuName" disabled
                                       class="layui-input" value="{{d.data.parentMenuName}}">
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">页面路径</label>
                            <div class="layui-input-inline">
                                <input type="text" name="url" disabled class="layui-input" value="{{d.data.url}}">
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">菜单序号</label>
                            <div class="layui-input-inline">
                                <input type="number" name="menuOrder" disabled class="layui-input"
                                       value="{{d.data.menuOrder}}">
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">菜单编码</label>
                            <div class="layui-input-inline">
                                <input type="text" name="menuCode" disabled class="layui-input"
                                       value="{{d.data.menuCode}}">
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">状态</label>
                            <div class="layui-input-block">
                                {{# if(d.data.status === 0){ }}
                                <input type="text" name="status" disabled class="layui-input" value="有效">
                                {{# }else{ }}
                                <input type="text" name="status" disabled class="layui-input" value="无效">
                                {{# } }}
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item layui-form-text">
                        <label class="layui-form-label">备注</label>
                        <div class="layui-input-block">
                            <textarea name="remark" placeholder="备注" class="layui-textarea"
                                      disabled>{{d.data.remark}}</textarea>
                        </div>
                    </div>
                    <div class="layui-form-item" style="text-align: right">
                        <div class="layui-input-block">
                            <a lay-href="/menu/list" class="layui-btn layui-btn-primary">
                                <i class="layui-icon layui-icon-return"></i>返回
                            </a>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
